import {createRouter, createWebHistory} from "vue-router";

let Routes = [
    {
        name: "SystemLogin",
        path: "/",
        component: () => import("@/SystemLogin.vue"),
    },
    {
        name: "MainFrame",
        path: "/MainFrame",
        component: () => import("@/MainFrame.vue"),
        children: [{
            name: "financialAdd",
            path: "/MainFrame/financialAdd",
            component: () => import("@/views/financialBook/List.vue"),
            }
        ]
    },
]

let router = createRouter(
    {
        history: createWebHistory(),
        routes: Routes
    })

export default router